PressForward\Core\API\NominateThisEndpoint S

Total Complexity 48
Dependencies 12
Dependents 1
Total lines 436
Lines of code 318
Logical lines of code 158
Comment lines 80
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
register_routes()
B
30 14 154
assembleScripts()
B
44 19 37
handle_nomination_submission()
S
46 5 35
get_file()
S
65 4 9
get_nominate_this_script()
S
49 1 34
get_nominate_this()
S
59 1 14
__construct()
S
60 1 13
action_hooks()
S
65 1 10
activate()
S
77 1 4
get_nominate_this_template()
S
68 1 8